package com.zbkj.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.common.model.system.SystemInvoice;
import com.zbkj.common.page.CommonPage;
import com.zbkj.common.request.InvoiceRequest;
import com.zbkj.common.request.InvoiceSearchRequest;
import com.zbkj.common.request.InvoiceUpdateRequest;
import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.response.InvoiceResponse;


public interface SystemInvoiceService extends IService<SystemInvoice> {


    Boolean create(SystemInvoice systemInvoice);

    InvoiceResponse getInvoiceByOrderId(InvoiceRequest invoiceRequest, String realName);

    InvoiceResponse invoiceInfoById(Integer id);

    Boolean updateInvoice(Integer id, InvoiceUpdateRequest request);

    Boolean deleteById(Integer id);

    CommonPage<SystemInvoice> getInvoiceList(InvoiceSearchRequest request, PageParamRequest pageParamRequest);
}